package com.example.martian.mapper;

import jnr.ffi.annotations.In;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface MessageMapper {

    //查询所有公告
    List<Map<String,Object>> selectNoticeAll();

    //根据id查询公告
    List<Map<String,Object>> selectNoticeById(Integer noticeId);
}
